-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.SLNX format support #10794
.SLNX format support #10794
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose explicit matching of filename extensions.
can replace existing .sln serializer with https://github.com/microsoft/vs-solutionpersistence/tree/main/src/Microsoft.VisualStudio.SolutionPersistence/Serializer/SlnV12 |
@kasperk81 we're going to use that deserializer in a follow-up PR. We're trying to make this PR the "minimum risk for potential backport to 9.0.1xx SDK" change, so keeping the existing sln behavior. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks as expected.
But I did just a quick pass - will go more in depth tomorrow
src/Build.UnitTests/Construction/SolutionFile_NewParser_Tests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
commit suggestions Co-authored-by: Rainer Sigwald <[email protected]> Co-authored-by: Jan Krivanek <[email protected]>
@surayya-MS should |
It's just |
Opened dotnet/source-build-externals#392 for source build error (should be the same version as the package) |
follow-up PR to replace existing .sln parser with |
This PR also fixes Bug #9587 |
what dotnet version will this be in ? |
9.0.200 see dotnet/sdk#40913 |
|
Fixes #10266
Context
We currently use our own parser SolutionFile.Parse() to parse .sln files in order to build them.
In this PR I intergrate the new package Microsoft.VisualStudio.SolutionPersistence to parse the new format .slnx files.
Key differences in the SolutionFile from the package's SolutionModel:
Changes Made
Testing
Notes